package com.knowledge.plus.other.nginx.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 模拟服务器的接口
 *
 * @author TPF
 * @since 2023/8/7
 */
@RestController
@RequestMapping("nginx/service")
public class NginxServiceController {

    /**
     * 负载均衡测试
     */
    @GetMapping("upstream")
    public void upstream() {
        System.out.println("do something");
    }

}
